package cn.south.campus.business.mapper;

import cn.south.campus.business.model.entity.ExpressTake;
import cn.south.campus.business.model.req.ApplyTakeRecordReq;
import cn.south.campus.business.model.req.ExpressTakeReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 快递代取 Mapper 接口
 * </p>
 *
 * @author chow
 * @since 2024-12-13
 */
public interface ExpressTakeMapper extends BaseMapper<ExpressTake> {

    PageDTO<ExpressTake> pageQuery(PageDTO<ExpressTake> pageDto, @Param("req") ExpressTakeReq req);

    ExpressTake queryDetail(Long id);

    IPage<ExpressTake> queryMyApplyExpress(PageDTO<ExpressTake> pageDto, @Param("req") ApplyTakeRecordReq req);
}
